<template>
	<view class="box">
		<view class="header">
			<h2>VIP会员</h2>
			<view>
				<scroll-view class="scroll-view_H" scroll-x="true" scroll-left="120">
					<view class="item active">
						<text>推荐</text>
					</view>
					<view class="item">
						<text>免费体验</text>
					</view>
					<view class="item">
						<text>小自入门</text>
					</view>
					<view class="item">
						<text>快手菜</text>
					</view>
				</scroll-view>
			</view>
		</view>
		<view class="jum">
			会员页面
		</view>
		<view class="recommend">
			<h2>VIP最新推荐</h2>
			<view class="video-scroll">
				<scroll-view class="scroll-view_H" scroll-x="true" scroll-left="120">
					<view class="video">
						<video>
							<image>
							</image>
							<image class="icon" src="" mode=""></image>
						</video>
						<view class="footer">
							<p></p>
							<view class="tips">
								<view class="browse">
									<text></text>
									<image src="" mode=""></image>
								</view>
								<view class="browse">
									<text></text>
									<image src="" mode=""></image>
								</view>
							</view>
						</view>
					</view>

				</scroll-view>
			</view>
		</view>

		<view class="free">
			<h2>限时免费体验</h2>
			<view class="video-scroll">
				<scroll-view class="scroll-view_H" scroll-x="true" scroll-left="120">
					<view class="video">
						<video src="">
							<image src="">
							</image>
							<image class="icon" src="" mode=""></image>
						</video>
						<view class="footer">
							<p></p>
							<view class="tips">
								<view class="browse">
									<text></text>
									<image src="" mode=""></image>
								</view>
								<view class="browse">
									<text></text>
									<image src="" mode=""></image>
								</view>
							</view>
						</view>
					</view>

				</scroll-view>
			</view>
		</view>
		<view class="like">
			<h2>猜你喜欢</h2>
			<view class="like-list">
				<view class="like-item">
					<image src="" mode=""></image>
					<p></p>
					<view class="tips">
						<view class="start">
							<text></text>
							<image src="" mode=""></image>
						</view>
						<view class="start">
							<text></text>
							<image src="" mode=""></image>
						</view>
					</view>
				</view>

			</view>
		</view>
	</view>
</template>

<script>
	
	export default {
		data() {
			return {
			
			};
		},
		methods: {
		
		},
		
	}
</script>

<style lang="scss">
	.header {
		display: flex;
		flex-direction: column;
		background-color: #ee7b2d;
		height: 270rpx;
		overflow: auto;

		h2 {
			padding-top: 112rpx;
			font-size: 36rpx;
			color: #fff;
			margin: 0 auto;
		}

		.scroll-view_H {
			margin-top: 54rpx;
			padding-left: 32rpx;
			white-space: nowrap;
			width: 100%;
		}

		.item {
			display: inline-block;
			margin-right: 88rpx;
			text-align: center;
			font-size: 24rpx;
			color: #fff;

			&.active {
				font-size: 38rpx;
			}
		}

	}

	.recommend {
		padding: 0 32rpx;
		margin-top: 44rpx;

		h2 {
			margin: 28rpx 0;
		}

		.video-scroll {
			.scroll-view_H {
				margin-top: 54rpx;
				white-space: nowrap;
				width: 100%;
			}

			.video {
				display: inline-block;
				width: 314rpx;
				height: 310rpx;
				margin-right: 12rpx;
				border-radius: 12rpx;
				overflow: hidden;

				video {
					border-radius: 8rpx;
					position: relative;
					width: 100%;
					height: 220rpx;

					image {
						position: absolute;
					}

					.icon {
						position: relative;
						width: 82rpx;
						height: 24rpx;
						border-radius: 18rpx;
						left: 20rpx;
						top: 12rpx;
					}
				}
			}

		}

		.footer {
			display: flex;
			flex-direction: column;
			margin-top: 18rpx;
			margin-bottom: 12rpx;
			font-size: 26rpx;

			.tips {
				margin-top: 8rpx;
				padding-left: 2rpx;
				display: flex;
				justify-content: space-between;
				padding-right: 50rpx;
				font-size: 18rpx;
				color: #aaaaaa;

				.browse {
					display: flex;
					align-items: center;

					

					image {
						margin-left: 10rpx;
						width: 28rpx;
						height: 22rpx;
					}
				}
			}
		}
	}

	.free {
		padding: 0 32rpx;
		margin-top: 44rpx;

		h2 {
			margin: 28rpx 0;
		}

		.video-scroll {
			.scroll-view_H {
				margin-top: 54rpx;
				white-space: nowrap;
				width: 100%;
			}

			.video {
				display: inline-block;
				width: 314rpx;
				height: 310rpx;
				margin-right: 12rpx;
				border-radius: 12rpx;
				overflow: hidden;

				video {
					border-radius: 8rpx;
					position: relative;
					width: 100%;
					height: 220rpx;

					image {
						position: absolute;
					}

					.icon {
						position: relative;
						width: 82rpx;
						height: 24rpx;
						border-radius: 18rpx;
						left: 20rpx;
						top: 12rpx;
					}
				}
			}

		}

		.footer {
			display: flex;
			flex-direction: column;
			margin-top: 18rpx;
			margin-bottom: 12rpx;
			font-size: 26rpx;

			.tips {
				margin-top: 8rpx;
				padding-left: 2rpx;
				display: flex;
				justify-content: space-between;
				padding-right: 50rpx;
				font-size: 18rpx;
				color: #aaaaaa;

				.browse {
					display: flex;
					align-items: center;

				
					image {
						margin-left: 10rpx;
						width: 28rpx;
						height: 22rpx;
					}
				}
			}
		}
	}

	.like {
		padding: 32rpx;

		.like-list {
			display: grid;
			grid-template-columns: repeat(2, 1fr);

			.like-item {
				image {
					width: 334rpx;
					height: 248rpx;
				}
				p {
					margin: 18rpx 0 10rpx 0;
				}
				.tips{
					display: flex;
					padding-left: 50rpx;
					justify-content: space-between;
					padding: 5rpx 0 8rpx 0 ;
					font-size: 18rpx;
					color: #aaaaaa;
					image {
						margin-left: 10rpx;
						width: 28rpx;
						height: 22rpx;
					}
				}
				
			}
		}
	}
</style>

